Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mission related preconditions #1634

Merged
merged 1 commit into from
Sep 12, 2024
Merged

fix: mission related preconditions #1634

merged 1 commit into from
Sep 12, 2024

Conversation

Wincent01
Copy link
Member

The current logic registered missions that had not been accepted as passing preconditions they should not. This PR seeks to use the GetMissionState function which takes care of this case.

@aronwk-aaron aronwk-aaron changed the title Fix mission related preconditions fix: mission related preconditions Sep 10, 2024
@EmosewaMC
Copy link
Collaborator

The logic was incorrect before, however if there are any tests you can do to make sure this change has the expected results, those would be appreciated. Noticed this 2 years ago and didnt fix because it wasnt broken lol.

@Wincent01 Wincent01 merged commit 6be6556 into main Sep 12, 2024
4 checks passed
@EmosewaMC EmosewaMC deleted the fix-preconditions branch September 12, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants